gtk4.git
25 years agoAdd my name to the ChangeLog.
Jonathan Blandford [Wed, 18 Oct 2000 15:13:01 +0000 (15:13 +0000)]
Add my name to the ChangeLog.

25 years agocvsignore updates
Owen Taylor [Wed, 18 Oct 2000 15:03:23 +0000 (15:03 +0000)]
cvsignore updates

25 years agoremove generated files
Owen Taylor [Wed, 18 Oct 2000 15:02:45 +0000 (15:02 +0000)]
remove generated files

25 years agoRemove generated gdk-decl.txt file from repository
Owen Taylor [Wed, 18 Oct 2000 14:59:15 +0000 (14:59 +0000)]
Remove generated gdk-decl.txt file from repository

25 years agoDraw the arrows correctly.
7 [Tue, 17 Oct 2000 23:06:56 +0000 (23:06 +0000)]
Draw the arrows correctly.

2000-10-17    <jrb@redhat.com>

* gtk/gtktreeview.c: Draw the arrows correctly.

Also, commit a few minor fixes so Havoc can make a model.

25 years agoAdded user docs.
7 [Tue, 17 Oct 2000 22:21:01 +0000 (22:21 +0000)]
Added user docs.

2000-10-17    <jrb@redhat.com>

* gtk/gtktreemodel.c: Added user docs.

* gtk/gtk.h: remove gtktreedatalist.h.

25 years agoGet the correct parent when generating my type.
7 [Tue, 17 Oct 2000 18:13:14 +0000 (18:13 +0000)]
Get the correct parent when generating my type.

2000-10-17    <jrb@redhat.com>

* gtk/gtktreestore.c (gtk_tree_store_get_type): Get the correct
parent when generating my type.

* gtk/gtkmarshal.list: Added four more marshallers: INT:NONE,
POINTER:NONE, POINTER:POINTER, and POINTER:POINTER,INT.

25 years agoMove GtkTreeModel from object to interface.
6 [Mon, 16 Oct 2000 23:11:55 +0000 (23:11 +0000)]
Move GtkTreeModel from object to interface.

2000-10-16    <jrb@redhat.com>

* gtk/gtktreemodel.h (struct _GtkTreeModelIface): Move
GtkTreeModel from object to interface.

25 years ago#include gtklabel.h, fixing compilation
Havoc Pennington [Mon, 16 Oct 2000 17:50:15 +0000 (17:50 +0000)]
#include gtklabel.h, fixing compilation

2000-10-16  Havoc Pennington  <hp@redhat.com>

* gtk/gtktreeviewcolumn.c: #include gtklabel.h, fixing
compilation

25 years agoAdd API documentation to all public functions.
Jonathan Blandford [Mon, 16 Oct 2000 07:03:54 +0000 (07:03 +0000)]
Add API documentation to all public functions.

2000-10-16  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeselection.c: Add API documentation to all public
functions.

25 years agoAdded API documentation to all public functions.
Jonathan Blandford [Mon, 16 Oct 2000 06:14:53 +0000 (06:14 +0000)]
Added API documentation to all public functions.

2000-10-16  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviewcolumn.c: Added API documentation to all public
functions.

25 years agoNew function proposed by Guy Harris <gharris@flashcom.net>. Also, added
Jonathan Blandford [Mon, 16 Oct 2000 03:18:49 +0000 (03:18 +0000)]
New function proposed by Guy Harris <gharris@flashcom.net>. Also, added

2000-10-15  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_insert_column): New function
proposed by Guy Harris <gharris@flashcom.net>.  Also, added API
docs to all public functions.

25 years agos/utf-8/UTF-8
Robert Brady [Sun, 15 Oct 2000 23:44:47 +0000 (23:44 +0000)]
s/utf-8/UTF-8

25 years agoFix GtkTreeNode *node ->GtkTreeNode node issue.
5 [Sun, 15 Oct 2000 17:46:23 +0000 (17:46 +0000)]
Fix GtkTreeNode *node ->GtkTreeNode node issue.

2000-10-15    <jrb@redhat.com>

* gtk/gtktreeview.c, gtk/gtktreeview.h, gtk/gtktreestore.h,
gtk/gtktreestore.c, gtk/gtkliststore.h, gtk/gtkliststore.c,
gtk/gtkmodelsimple.c, gtk/gtkmodelsimple.h, gtk/gtktreedatalist.c,
gtk/gtktreemodel.h, gtk/gtktreeselection.c,
gtk/gtktreeselection.h: Fix GtkTreeNode *node ->GtkTreeNode node
issue.

25 years agoRemove leftover CVS conflict indicator lines (>>>>>>>).
Tor Lillqvist [Sun, 15 Oct 2000 17:17:10 +0000 (17:17 +0000)]
Remove leftover CVS conflict indicator lines (>>>>>>>).

2000-10-15  Tor Lillqvist  <tml@iki.fi>

* ChangeLog: Remove leftover CVS conflict indicator lines (>>>>>>>).

* makefile.mingw: Add rules for fa, he, sp and sr.

25 years agoAdded Persian translation from Roozbeh Pournader <roozbeh@sina.sharif.ac.ir>
Robert Brady [Sat, 14 Oct 2000 15:57:09 +0000 (15:57 +0000)]
Added Persian translation from Roozbeh Pournader <roozbeh@sina.sharif.ac.ir>

25 years agoUpdated the tr.po for Gtk+
Fatih Demir [Fri, 13 Oct 2000 19:46:37 +0000 (19:46 +0000)]
Updated the tr.po for Gtk+

25 years agoForgot this.
Jonathan Blandford [Fri, 13 Oct 2000 00:34:46 +0000 (00:34 +0000)]
Forgot this.

25 years agoAdded values other then G_TYPE_STRING. Minor commenting updates. Format
Jonathan Blandford [Fri, 13 Oct 2000 00:34:38 +0000 (00:34 +0000)]
Added values other then G_TYPE_STRING. Minor commenting updates. Format

2000-10-12  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreedatalist.[ch] (gtk_tree_data_list_value_to_node): Added
values other then G_TYPE_STRING.
* gtk/gtktreeselection.c: Minor commenting updates.
* gtk/gtktreeview.c: Format updates.

25 years agoUpdated French translation.
Christophe Merlet [Tue, 10 Oct 2000 12:57:48 +0000 (12:57 +0000)]
Updated French translation.

25 years agoUpdate.
Tor Lillqvist [Mon, 9 Oct 2000 19:49:42 +0000 (19:49 +0000)]
Update.

2000-10-09  Tor Lillqvist  <tml@iki.fi>

* README.win32: Update.

* gdk/win32/gdkgeometry-win32.c (gdk_window_clip_changed): Add two
lines that had been deleted by mistake (?).

* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Handle
also the case fg==white and bg==black (but still not randomly
coloured cursors). Thanks to Wolfgang Sourdeau.

* gdk/win32/*.c: Silence gcc -Wall.

* gtk/gtk.def: Add missing entry points.

Fixes by Hans Breuer:

* gdk/makefile.msc
* gdk/win32/makefile.msc: Update.

* gdk/testgdk.c: If compiling with debugging (with _DEBUG defined,
some MSVC thing, presumably), cause breakpoint on failures. Add
GDK_NOR case. Call g_log_set_always_fatal.

* gdk/win32/gdkwin32id.c (gdk_win32_handle_table_insert): Handle
should be pased by reference.

* gdk/win32/gdkprivate-win32.h: Correct declaration accordingly.

* gdk/win32/*.c: Correct calls to gdk_win32_handle_table_insert.

* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkwindow-win32.c: Handle WM_CREATE.

* gdk/win32/gdkgc-win32.c: Fix mixups of drawable and
implementation object.

* gdk/win32/gdkimage-win32.c (gdk_image_get): Handle drawables,
not just windows.

* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize):
Use the wrapper object.

25 years agoforgot to cvs add files from last commit
Havoc Pennington [Mon, 9 Oct 2000 17:23:03 +0000 (17:23 +0000)]
forgot to cvs add files from last commit

25 years agocontrib subdir
Havoc Pennington [Mon, 9 Oct 2000 17:22:20 +0000 (17:22 +0000)]
contrib subdir

2000-10-06  Havoc Pennington  <hp@redhat.com>

* Makefile.am (SRC_SUBDIRS): contrib subdir

* gdk/gdkpixbuf.h: Move GdkPixbufAlphaMode to gdk-pixbuf library,
so it can be used in Xlib version

* demos/testpixbuf.c (update_timeout): error checking from 1.0
tree

* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_pixbuf): Sync
change from 1.0 tree that returns first frame of animation
if the loaded file is an animation.

        * contrib: add new directory to hold stuff that comes with GTK+
but isn't really part of GTK+ (for now, gdk-pixbuf-xlib)

* configure.in: add contrib/*

2000-10-06  Havoc Pennington  <hp@redhat.com>

* gdk-pixbuf.h: add GdkPixbufAlphaMode

2000-10-06  Havoc Pennington  <hp@redhat.com>

        This entry is a summary of the merged-in changes from 1.0.
Relevant original ChangeLog entries are spliced in after
this entry; the files they refer to are from the 1.0
gdk-pixbuf sources.

* pixops/pixops.c (pixops_composite_nearest): sync a small fix
from 1.0

* io-xpm.c (xpm_seek_string): add fscanf error check from 1.0
Add progressive loader from 1.0

* io-tiff.c (gdk_pixbuf__tiff_image_begin_load): mem leak fixes
from 1.0 tree

* io-pnm.c: new version from 1.0 tree

* io-jpeg.c (gdk_pixbuf__jpeg_image_load): sync from 1.0, use
malloc not g_malloc

* io-gif.c (lzw_read_byte): sync from 1.0, change a g_error to
g_warning
(gif_get_next_step): return 0 here, sync from 1.0

* gdk-pixbuf-util.c: sync email address change for Cody
Russell

2000-09-11  Jeffrey Stedfast  <fejj@helixcode.com>

* gdk-pixbuf/io-pnm.c: Pretty much totally rewrote again because
last nights code was still "broken". Should now properly handle
all error conditions gracefully.

2000-09-10  Jeffrey Stedfast  <fejj@helixcode.com>

* gdk-pixbuf/io-pnm.c: Rewrote.

2000-09-09  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): Compute
the correct dest offset.

2000-08-25  Federico Mena Quintero  <federico@helixcode.com>

* gdk-pixbuf/io-xpm.c: #include <unistd.h>

2000-08-05  Larry Ewing  <lewing@helixcode.com>

* gdk-pixbuf/io-tiff.c: stop leaking context->tempname.

* gdk-pixbuf/io-xpm.c: same as above.

2000-07-26  Michael Meeks  <michael@helixcode.com>

* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load): make
g_malloc a malloc.

2000-07-21  Larry Ewing  <lewing@helixcode.com>

* gdk-pixbuf/io-xpm.c: add a fake progressive loader so that
xpm at least supports the progressive interface like the one in
io-tiff.c. This should be reimplemented as an actual progressive
loader.

2000-07-19  Jonathan Blandford  <jrb@redhat.com>

* demo/pixbuf-demo.c (update_timeout): changed scaling level to
make it look better.
* gdk-pixbuf/testpixbuf.c (update_timeout): Patch from michael
meeks to handle errors better.

25 years agoUpdated Swedish translation.
Christian Rose [Sun, 8 Oct 2000 16:53:55 +0000 (16:53 +0000)]
Updated Swedish translation.

25 years agogdk_pixbuf.def pixbufloader_jpeg.def Add new entry points.
Tor Lillqvist [Fri, 6 Oct 2000 22:01:45 +0000 (22:01 +0000)]
gdk_pixbuf.def pixbufloader_jpeg.def Add new entry points.

2000-10-07  Tor Lillqvist  <tml@iki.fi>

* gdk_pixbuf.def
* pixbufloader_jpeg.def
* pixbufloader_png.def: Add new entry points.

* makefile.mingw.in: Use libintl.

25 years agos/format/type/g to be consistent with gdk_pixbuf_loader_new_with_type().
Havoc Pennington [Fri, 6 Oct 2000 18:26:23 +0000 (18:26 +0000)]
s/format/type/g to be consistent with gdk_pixbuf_loader_new_with_type().

2000-10-06  Havoc Pennington  <hp@redhat.com>

* gdk-pixbuf-io.c (gdk_pixbuf_save): s/format/type/g to be
consistent with gdk_pixbuf_loader_new_with_type().
Return runtime error if a module is missing.

* gdk-pixbuf.h: add GDK_PIXBUF_ERROR_UNKNOWN_TYPE

25 years agoPixbuf saving, patch from David Welton.
Havoc Pennington [Fri, 6 Oct 2000 18:19:18 +0000 (18:19 +0000)]
Pixbuf saving, patch from David Welton.

2000-10-05  Havoc Pennington  <hp@redhat.com>

        Pixbuf saving, patch from David Welton.

* Makefile.am (GDK_PIXBUF_LIBS): add INTLLIBS
(libgdk_pixbuf_1_3_la_SOURCES): add gdk-pixbuf-i18n.h

* gdk-pixbuf-i18n.h: Add _() to gdk-pixbuf

* io-png.c (gdk_pixbuf__png_image_save): PNG save routine.

* io-jpeg.c (gdk_pixbuf__jpeg_image_save): JPEG save routine.

* gdk-pixbuf-io.c (gdk_pixbuf_save):
(gdk_pixbuf_savev): Implement pixbuf saving routines

* gdk-pixbuf.c (gdk_pixbuf_error_quark): pixbuf error quark
function

* gdk-pixbuf.h: Add public save routines; add pixbuf error
types

* gdk-pixbuf-io.h: Add save function to GdkPixbufModule

2000-10-05  Havoc Pennington  <hp@redhat.com>

        * demos/testpixbuf-save.c: add pixbuf save test

* demos/Makefile.am: add testpixbuf-save.c

25 years agoja.po: Update Japanese translation.
Yukihiro Nakai [Fri, 6 Oct 2000 06:49:46 +0000 (06:49 +0000)]
ja.po: Update Japanese translation.

25 years agoForgot this file
Jonathan Blandford [Fri, 6 Oct 2000 00:06:39 +0000 (00:06 +0000)]
Forgot this file

25 years agoReplaced with GTK_TREE_SELECTION_OLD to prevent conflict with
Jonathan Blandford [Fri, 6 Oct 2000 00:06:00 +0000 (00:06 +0000)]
Replaced with GTK_TREE_SELECTION_OLD to prevent conflict with

2000-10-05  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktree.h (GTK_TREE_SELECTION): Replaced with
GTK_TREE_SELECTION_OLD to prevent conflict with gtktreeselection.c
* gtk/testgtk.c: s/GTK_TREE_SELECTION/GTK_TREE_SELECTION_OLD/
* gtk/gtktreeselection.[ch]: Replaced
"node_selected"/"node_unselected" signal with "selection_changed"
signal.

25 years agoFix comments to not claim that all three of these files are the JPEG image
Dan Winship [Thu, 5 Oct 2000 21:40:37 +0000 (21:40 +0000)]
Fix comments to not claim that all three of these files are the JPEG image

* io-png.c, io-tiff.c, io-xpm.c: Fix comments to not claim that
all three of these files are the JPEG image loader. (From
gdk-pixbuf module.)

25 years agoChecked in initial draft of the new tree widget.
4 [Thu, 5 Oct 2000 01:04:57 +0000 (01:04 +0000)]
Checked in initial draft of the new tree widget.

2000-10-04    <jrb@redhat.com>

* gtk/gtk{tree,cell}?*.[ch]: Checked in initial draft of the new
tree widget.

25 years agoFix obvious bug in circle drawing.
Jonathan Blandford [Wed, 4 Oct 2000 23:16:05 +0000 (23:16 +0000)]
Fix obvious bug in circle drawing.

2000-10-04  Jonathan Blandford  <jrb@redhat.com>

* gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle
drawing.

25 years agoMove list pointer forwards before removing item from list. (Crash reported
0 [Wed, 4 Oct 2000 19:53:53 +0000 (19:53 +0000)]
Move list pointer forwards before removing item from list. (Crash reported

Wed Oct  4 15:52:15 2000    <otaylor@redhat.com>

* gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed):
Move list pointer forwards before removing item from
list. (Crash reported by Salmaso Raffaele)

* gdk/gdkwindow.h: Remove spurious trailing ,

* gdk/Makefile.am (LDFLAGS): You can't do interlibrary
dependencies on uninstalled libraries, sorry folks.

25 years agoFix copyrights
Havoc Pennington [Wed, 4 Oct 2000 19:07:54 +0000 (19:07 +0000)]
Fix copyrights

2000-10-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
gtk/gtkiconfactory.c: Fix copyrights

* demos/testpixbuf.c: add inline pixbuf test

25 years agoAdd gdk_window_iconify.
Owen Taylor [Wed, 4 Oct 2000 16:51:42 +0000 (16:51 +0000)]
Add gdk_window_iconify.

Mon Sep 25 15:05:17 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c (gdk_window_iconify):
Add gdk_window_iconify.

* gdk/gdkwindow.h gdk/x11/gdkwindow-x11.c
(gdk_window_set_geometry_hints): Add win_gravity
to geometry structure.

* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
Implement _NET_WM_PING.

* gdk/x11/gdkmain-x11.c (_gdk_windowing_init_check):
Set _NET_WM_PID on the client leader.

* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_name):
Handle UTF-8 better.

* gdk/x11/gdkwindow-x11.c (gdk_window_set_title): Handle
UTF-8 better, set _NET_WM_NAME as well. Only set
icon name if it hasn't previously been explicitely
set.

25 years agoFix copyrights
Havoc Pennington [Wed, 4 Oct 2000 16:39:44 +0000 (16:39 +0000)]
Fix copyrights

2000-10-04  Havoc Pennington  <hp@redhat.com>

* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
gtk/gtkiconfactory.c: Fix copyrights

* demos/testpixbuf.c: add inline pixbuf test

25 years agoclean up trailing whitespace, add extensive tests for tag toggle
Havoc Pennington [Wed, 4 Oct 2000 14:23:09 +0000 (14:23 +0000)]
clean up trailing whitespace, add extensive tests for tag toggle

2000-10-03  Havoc Pennington  <hp@redhat.com>

* gtk/testtextbuffer.c: clean up trailing whitespace,
add extensive tests for tag toggle iteration.

* gtk/gtktextiter.c (MAX_LINEAR_SCAN): decrease linear scan
distance

* gtk/gtktextbtree.c (gtk_text_line_next_could_contain_tag):
optimize case where the tag root is on level 1
(gtk_text_line_previous_could_contain_tag): attempt to implement
(gtk_text_line_next_could_contain_tag): Abstract out node_compare
functionality

* gtk/gtktextiter.c (gtk_text_iter_backward_to_tag_toggle):
Implement this, though not very efficiently.

* gtk/gtktextiterprivate.h: reformat

* gtk/gtktextiter.c (gtk_text_iter_get_char): return 0 on the end
iterator

* gtk/gtktextbuffer.c (gtk_text_buffer_delete_interactive): Fix
this to properly revalidate the iterators.

* gtk/gtktextview.c (gtk_text_view_delete): fix control-K to work
properly at the end of the line (and therefore on empty lines)

* gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Gee,
maybe we should return a value...

25 years agoGuard definition of alloca(). glib.h now handles that.
Tor Lillqvist [Tue, 3 Oct 2000 21:00:49 +0000 (21:00 +0000)]
Guard definition of alloca(). glib.h now handles that.

2000-10-03  Tor Lillqvist  <tml@iki.fi>

* config.h.win32: Guard definition of alloca(). glib.h now handles
that.

* gdk/gdk.def
* gtk/gtk.def: Add new entry points.

Changes just to make GTK+ build without errors on Win32. No hope
of it working in its current state, though...:

* gdk/win32/gdkselection-win32.c: Remove gcc -Wall warnings.  Add
some functions from the X11 backend, just to make GTK+ build.

* gdk/makefile.mingw.in
* gtk/makefile.mingw.in: Use correct gdk_pixbuf version
number. Add new object files.

* gtk/gtkclipboard.c: Include gdkwin32.h on Win32. Use
GetMessageTime to get timestamp (where on X11 uses
gdk_x11_get_server_time()).

25 years agoAdd rule for make-inline-pixbuf. Use gdk-pixbuf's version number in the
Tor Lillqvist [Tue, 3 Oct 2000 20:00:14 +0000 (20:00 +0000)]
Add rule for make-inline-pixbuf. Use gdk-pixbuf's version number in the

2000-10-03  Tor Lillqvist  <tml@iki.fi>

* makefile.mingw.in: Add rule for make-inline-pixbuf. Use
gdk-pixbuf's version number in the rule for makefile.mingw itself.

* gdk_pixbuf.def: Add new entry points.

25 years agotext_window_* weren't static and should have been. Start work on child
Havoc Pennington [Mon, 2 Oct 2000 14:29:24 +0000 (14:29 +0000)]
text_window_* weren't static and should have been. Start work on child

2000-10-02  Havoc Pennington  <hp@pobox.com>

        * gtk/gtktextview.c: text_window_* weren't static and should have
        been.
        Start work on child widgets; not yet complete,
syncing to
        office computer.

        * gtk/gtktextchild.h: change this to contain a public interface,
starting work on child interfaces.
        * gtk/gtktextchildprivate.h: move private interfaces here

* gtk/Makefile.am: update to reflect gtktextchildprivate.h

* gtk/gtktextview.h, gtk/gtktextview.c, gtk/gtktextbuffer.h,
gtk/gtktextbuffer.c, gtk/gtktextiter.h, gtk/gtk/textiter.c,
gtk/gtktextmark.c: copyright notices

* gtk/gtktextmarkprivate.h: reformat, and put _ in
front of
        internal functions

* gtk/gtktextchild.c (_pixbuf_segment_new): put _ in front of
internal function

* gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
Reformatting

25 years agoHandle NULL start/end pointers
Havoc Pennington [Sat, 30 Sep 2000 17:08:25 +0000 (17:08 +0000)]
Handle NULL start/end pointers

2000-09-30  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextbtree.c (gtk_text_btree_get_selection_bounds): Handle
NULL start/end pointers

* gtk/gtktextbuffer.c: Write some docs
(gtk_text_buffer_get_selection_bounds): Allow start/end to be
NULL, so you can just check whether there's a selection.

* gtk/gtktextbtree.c (gtk_text_btree_remove_mark): No need to
cleanup_line or segments_changed ourselves, it gets done
in unlink_segment

* gtk/gtktextmark.h:
s/gtk_text_mark_deleted/gtk_text_mark_get_deleted/

* gtk/gtktextsegment.h: Clean up some indentation and naming mess

* gtk/gtktextmark.c: delete some more old Tk cruft

* gtk/gtktextbuffer.c (gtk_text_buffer_delete_mark): add ref to
mark before removing it, so we can emit MARK_DELETED with a valid
pointer.
(gtk_text_buffer_mark_set): hold ref across signal emission

* gtk/gtktextbtree.c (gtk_text_btree_remove_mark): improve
whining about attempts to delete special marks

* gtk/gtktextbuffer.c (_gtk_text_buffer_spew): Prepend with
underscore, since it's internal.

* gtk/gtktextbuffer.h: Remove find_string prototype, this is
now implemented in terms of iterators in gtktextiter.h

* gtk/gtktextbuffer.c (gtk_text_buffer_set_text):
New function, destructively sets contents of buffer. Also
a convenient way to clear the buffer by setting text to ""

* gtk/gtktextiter.c (gtk_text_iter_make_surreal): reformat
multiline string literal

* gtk/testtext.c (text_changed_callback): Redraw line numbers if
text changes.

* gtk/gtktextiter.c (forward_char): Return FALSE if new location
is not dereferenceable
(gtk_text_iter_forward_lines): fix return value

25 years agoPut the pkg-config scripts back to the correct pkg-config syntax
Martin Baulig [Sat, 30 Sep 2000 02:14:04 +0000 (02:14 +0000)]
Put the pkg-config scripts back to the correct pkg-config syntax
(the pkg-config that comes with the RedHat 7.0 glib-gtkbeta RPM and
 not the one from pkgconfig.sourceforge.net which is old).

25 years agofix indentation
Havoc Pennington [Sat, 30 Sep 2000 00:17:22 +0000 (00:17 +0000)]
fix indentation

2000-09-29  Havoc Pennington  <hp@redhat.com>

* gtk/gtktexttag.c (gtk_text_tag_set_priority): fix indentation

        * gtk/gtktextview.c: Implement drag thresholding; change functions
that set border window size to have nicer name
(gtk_text_view_mark_set_handler):  Fix this to have the
right signature.

* gtk/testtextbuffer.c (fill_buffer): Update with pixbuf changes

* gtk/testtext.c: Update with API changes, put line numbers on
both sides.

* gtk/gtktextiter.c (gtk_text_iter_get_pixbuf): Replace get_pixmap
with this

* gtk/gtktextchild.h, gtk/gtktextchild.c: replace all pixmap with
pixbuf; delete a big block of #if 0 Tk code

* gtk/gtktextbuffer.c (gtk_text_buffer_insert_pixbuf): Replace
insert_pixmap with insert_pixbuf

25 years agofile gdk.pc.in was initially added on branch gtk-1-2.
Martin Baulig [Fri, 29 Sep 2000 22:43:24 +0000 (22:43 +0000)]
file gdk.pc.in was initially added on branch gtk-1-2.

25 years agofile gtk+.pc.in was initially added on branch gtk-1-2.
Martin Baulig [Fri, 29 Sep 2000 22:43:24 +0000 (22:43 +0000)]
file gtk+.pc.in was initially added on branch gtk-1-2.

25 years agoSet this to `$(libexecdir)/pkgconfig'; this is the directory where
Martin Baulig [Fri, 29 Sep 2000 20:58:42 +0000 (20:58 +0000)]
Set this to `$(libexecdir)/pkgconfig'; this is the directory where

2000-09-29  Martin Baulig  <baulig@suse.de>

* Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig';
this is the directory where pkg-config actually looks.

* gdk-pixbuf.pc.in: Renamed to gdb-pixbuf-2.0.pc.in to avoid
confusion with the GdkPixbuf of the GNOME 1.x platform.

* *.pc.in: Made the pkg-config scripts actually work.

25 years agoImplement the side windows.
Havoc Pennington [Fri, 29 Sep 2000 05:47:34 +0000 (05:47 +0000)]
Implement the side windows.

2000-09-29  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c: Implement the side windows.

* gtk/testtext.c: Implement simple line numbering in the
left side window; seems to make scrolling sloooow. Oops.
Also, cursor blink is for some reason causing redraws
of the line numbers. Should investigate...

25 years agoSet up infrastructure to deal with lots of scrolling child windows, and
Havoc Pennington [Thu, 28 Sep 2000 21:10:40 +0000 (21:10 +0000)]
Set up infrastructure to deal with lots of scrolling child windows, and

2000-09-28  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c: Set up infrastructure to deal with lots of
scrolling child windows, and draw focus rectangle properly.

(gtk_text_view_buffer_to_window_coords):
Coordinate transformation to deal with all these freaking windows
and offsets
(gtk_text_view_window_to_buffer_coords): transform the other way

* gtk/testtext.c (create_buffer): Update to match Pango API change

* gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Go over the
anonymous tags
(foreach_unref): don't emit remove signal from finalize, just
set tag's parent to NULL

25 years agoremove Fix some warnings
Havoc Pennington [Tue, 26 Sep 2000 20:35:39 +0000 (20:35 +0000)]
remove Fix some warnings

2000-09-26  Havoc Pennington  <hp@redhat.com>

        * gtk/gtkiconfactory.c (gtk_icon_set_clear): remove
Fix some warnings

25 years agoMove more text widget headers into the private header list
Havoc Pennington [Tue, 26 Sep 2000 20:22:17 +0000 (20:22 +0000)]
Move more text widget headers into the private header list

2000-09-26  Havoc Pennington  <hp@redhat.com>

* gtk/Makefile.am (gtk_private_h_sources): Move more text widget
headers into the private header list

* Makefile.am (pkgconfig_DATA): install pkg-config files

* configure.in: add pkg-config files

* gdk-2.0.pc.in, gdk-pixbuf.pc.in, gtk+-2.0.pc.in: pkg-config files

* gtk/gtkwindow.c (gtk_window_read_rcfiles): Invalidate
outstanding icon caches on theme change.

* gtk/gtkiconfactory.h, gtk/gtkiconfactory.c: New icon system. Three
important types:

(GtkIconSource): Specification for creating a pixbuf
appropriate for a direction/state/size triplet from
a source pixbuf or filename

(GtkIconSet): List of GtkIconSource objects that are used to
create the "same" icon (e.g. an OK button icon), and cache for
rendered icons

(GtkIconFactory): Hash from stock ID to GtkIconSet; used to look
up the icon set for a given stock ID.  GTK maintains a stack of
GtkIconFactory to search, and applications or libraries can add
additional icon factories on top of the stack

        * gtk/gtkrc.h, gtk/gtkrc.c: When loading an RcStyle, parse
the set of GtkIconSource specified for a given stock ID into
a GtkIconSet, and put the GtkIconSet into a GtkIconFactory for the
RcStyle, under the specified stock ID.

* gtk/gtkstyle.h, gtk/gtkstyle.c: Add a virtual function
render_icon used to derive a GdkPixbuf from a GtkIconSource.
This allows people to theme how prelight, insensitive, etc. are
done.

(gtk_style_lookup_icon_set): Look up a stock ID in the list of
icon factories for a style, and return the resulting
icon set if any.

(gtk_style_render_icon): Render an icon using the render_icon
method in the GtkStyleClass.

* gtk/gtkwidget.h, gtk/gtkwidget.c (gtk_widget_render_icon):
Use the style for a given widget to look up a stock ID, get the
icon set, and render an icon using the render_icon method
of the style

* gtk/gtkstock.h, gtk/gtkstock.c: Header with the GtkStockItem type
(contains information about a stock item), the built-in stock item
IDs, and functions to add/lookup stock items.

* gtk/stock-icons/*: Stock icons that come with GTK

* gtk/gtkbutton.h, gtk/gtkbutton.c (gtk_button_new_stock): Returns
a button based on a GtkStockItem
(gtk_button_new_accel): Takes a uline string and accel group, and
installs the accelerator.

* gtk/gtkimage.h, gtk/gtkimage.c: Make this into a generic
image-display widget.

25 years agoDraw the focus, and leave space to do so.
Havoc Pennington [Mon, 25 Sep 2000 17:17:13 +0000 (17:17 +0000)]
Draw the focus, and leave space to do so.

2000-09-25  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c: Draw the focus, and leave space to do so.

* gtk/gtktexttypes.c: Remove Latin1 conversion stuff

* gtk/gtktextbtree.c (gtk_text_btree_node_remove_data):
Fix a bug when removing node data, we didn't properly
re-splice the linked list after removing the data.

* gtk/gtktextview.c (gtk_text_view_key_press_event): Pass through
GDK_Tab as literal tab, Ctrl-Tab to tab to focus widget

* gtk/gtktextbuffer.c (selection_received): fix g_convert usage

* gtk/gtktextlayout.c (set_para_values): Set tab array
for the layout from the GtkTextTag.

* gtk/gtktexttypes.h: delete tab and search cruft,
remove g_convert() in favor of GLib version

* gtk/gtktexttypes.c: remove tab implementation from here,
move to Pango

* gtk/gtktexttag.h, gtk/gtktexttag.c: Implement
tab stuff using new PangoTabArray from Pango

* gtk/gtktexttag.c (gtk_text_attributes_fill_from_tags): Remove
unused border_width stuff

25 years agofile gtkmodule.c was initially added on branch gtk-new-im.
Owen Taylor [Sat, 16 Sep 2000 17:11:25 +0000 (17:11 +0000)]
file gtkmodule.c was initially added on branch gtk-new-im.

25 years agofile gtkmodule.h was initially added on branch gtk-new-im.
Owen Taylor [Sat, 16 Sep 2000 17:11:25 +0000 (17:11 +0000)]
file gtkmodule.h was initially added on branch gtk-new-im.

25 years agoRemove g_convert (moved to glib) and now useless utf_to_latin1()
Owen Taylor [Thu, 14 Sep 2000 21:19:11 +0000 (21:19 +0000)]
Remove g_convert (moved to glib) and now useless utf_to_latin1()

Thu Sep 14 12:21:12 2000  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktexttypes.[ch]: Remove g_convert (moved to
glib) and now useless utf_to_latin1() latin1_to_utf()

25 years agoAdd gtkclipboard.[ch
Owen Taylor [Thu, 14 Sep 2000 16:44:04 +0000 (16:44 +0000)]
Add gtkclipboard.[ch

Thu Sep 14 12:43:30 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtk.h gtk/Makefile.am: Add gtkclipboard.[ch

25 years agoupdates
Owen Taylor [Thu, 14 Sep 2000 16:41:37 +0000 (16:41 +0000)]
updates

25 years agoRemove g_convert (moved to glib) and now useless utf_to_latin1()
Owen Taylor [Thu, 14 Sep 2000 16:41:20 +0000 (16:41 +0000)]
Remove g_convert (moved to glib) and now useless utf_to_latin1()

Thu Sep 14 12:21:12 2000  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktexttypes.[ch]: Remove g_convert (moved to
glib) and now useless utf_to_latin1() latin1_to_utf()

* gtk/gtktextview.[ch]: Change ::move_insert and
::delete_text action signals to ::move and ::delete;
create the signals with the right enumeration type,
not GTK_TYPE_ENUM so that bindings work. Add C-d, M-d,
C-v bindings, change Home, End to move to beginning/end
of line, Add C-Home C-End to move to beginning/end
of buffer. Change ::cut_text to ::cut_clipboard, etc;
combine ::scroll_text into ::move; use new GtkSelectionData
functions to simplify DND text handling.

* gtk/gtkenums.h gtk/gtktextview.h: Move movement,
deletion enumerations here, rename enumeration values to
be consistently plural.

* gtk/gtktextbuffer.c: Use new clipboard interfaces
for cut/copy/paste and primary selection.

* gtk/gtktextbuffer.[ch]: Remove excess time and
'interactive' arguments from cut/copy/paste;
rename cut to cut_clipboard, etc; remove
gtk_text_buffer_get_clipboard_contents().

* gtk/gtktextlayout.[ch]: Add
gtk_text_layout_move_iter_to_line_end() to move the iter to
line ends.

* gtk/gtkselection.[ch] (gtk_selection_data_set/get_text):
Functions to set or get a UTF-8 string on the selection
data.

* gtk/gtkclipboard.[ch]: New, simplified selection handling
interfaces.

* gtk/gtkinvisible.c (gtk_invisible_new): Realize newly
created widgets - one of these is useless if we don't.

* gtk/gtkselection.[ch] (gtk_selection_clear_targets): Export
a public function clear all targets registered for the
widget.

* gtk/gtkselection.c (gtk_selection_owner_set) docs/Changes-2.0.txt:
Never call gtk_widget_realize() - that was just asking
for bizarre side-effects.

* gtk/gtkselection.c (gtk_selection_owner_set): Call
gdk_selection_owner_set even if the widget is the
same so that we reliably update the timestamp on
the server.

* gdk/x11/gdkevents-x11.c gdk/x11/gdkx.h: Add a
gdk_x11_get_server_time() function.

* gdk/x11/gdkevents-x11.c gdk/x11/gdkprivate-x11.h
gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.h:
Add some tricky filtering on serial numbers for
selection clear events to fix up long-standard
race condition FIXME's in gtkselection.c.

* gdk/gdkproperty.h gdk/x11/gdkselection-x11.h: Add
routines to convert from utf8 to compound text or
STRING and from a text property to UTF-8.

* gtk/gtkmain.[ch] (gtk_get_current_event_time): Add
a convenience function gdk_get_current_event_time().

* gtk/gtkselection.c (gtk_selection_data_copy/free): Copy
and free selection_data->data properly

25 years agoUpdates for new functions
Owen Taylor [Thu, 14 Sep 2000 16:39:16 +0000 (16:39 +0000)]
Updates for new functions

Thu Sep 14 12:38:33 2000  Owen Taylor  <otaylor@redhat.com>

        * docs/reference/gdk/: Updates for new functions

* docs/reference/gdk/tmpl/gtkclipboard.sgml
docs/reference/gdk/tmpl/gtkselection.sgml: Updates
and new information.

25 years agoUpdate to translations.
Seán Ó Ceallaigh/Irish translations [Sat, 9 Sep 2000 03:07:24 +0000 (03:07 +0000)]
Update to translations.

25 years agogtk/gtktextdisplay.c gtk/gtktextlayout.c gtk/gtktexttag.c gtk/gtktexttag.h
Jonathan Blandford [Fri, 8 Sep 2000 23:29:46 +0000 (23:29 +0000)]
gtk/gtktextdisplay.c gtk/gtktextlayout.c gtk/gtktexttag.c gtk/gtktexttag.h

2000-09-08  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktextdisplay.c
* gtk/gtktextlayout.c
* gtk/gtktexttag.c
* gtk/gtktexttag.h
* gtk/testtext.c: Change the overstrike property to strikethrough,
to closer match pango.

25 years agoFix up visibility so that focus, cursor_visible and blink interact
Owen Taylor [Fri, 8 Sep 2000 18:33:03 +0000 (18:33 +0000)]
Fix up visibility so that focus, cursor_visible and blink interact

Fri Sep  8 14:28:00 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c: Fix up visibility so that focus,
cursor_visible and blink interact properly.  Reenable cursor blink
which had been roughly disabled. Make blink and focus
properly per-view.

* gtk/gtktextlayout.[ch] (gtk_text_layout_set_cursor_visible):
Add a flag for whether to display insertion cursor and
a function to set the flag.

* gtk/gtktextlayout.c (gtk_text_layout_get_line_yrange): Change
get_line_y() to get_line_yrange(), to be a bit more generally
useful.

25 years agoin gtk_menu_set_submenu_navigation_region do stop_navigating_submenu, to
George Lebl [Fri, 8 Sep 2000 01:53:46 +0000 (01:53 +0000)]
in gtk_menu_set_submenu_navigation_region do stop_navigating_submenu, to

Thu Sep 07 20:54:33 2000  George Lebl <jirka@5z.com>

* gtk/gtkmenu.c:  in gtk_menu_set_submenu_navigation_region
  do stop_navigating_submenu, to clear last timeout properly.
  Also in gtk_menu_motion_notify move ignore_enter above
  the conditional to make it always happen as suggested by Owen

25 years agoOops, cut&paste error.
Tor Lillqvist [Thu, 7 Sep 2000 19:55:36 +0000 (19:55 +0000)]
Oops, cut&paste error.

25 years agoUse -Wall. Add gdkpango-win32.o
Tor Lillqvist [Thu, 7 Sep 2000 19:51:32 +0000 (19:51 +0000)]
Use -Wall. Add gdkpango-win32.o

2000-09-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/makefile.mingw.in: Use -Wall. Add gdkpango-win32.o

* gdk/win32/gdkwin32.h: Add more definitions missing from the free
w32api headers.

* gdk/win32/gdkprivate-win32.h: Add a couple of missing
declarations.

* gdk/win32/gdkdrawable-win32.c: Remove gcc -Wall warnings.
(gdk_win32_get_colormap): A line had been deleted by mistake.

* gdk/win32/gdkevents-win32.c: Remove lint (gcc -Wall) here, too.
(gdk_event_translate): Handle more virtual keycodes to be able to
generate GDK events for Control-comma, Control-period, etc.

* gtk/gtk.def: Add some missing entry points.

2000-09-07  Tor Lillqvist  <tml@iki.fi>

* makefile.mingw.in: Use own version number for gdk-pixbuf DLLs,
like on Unix.

25 years agoadd some new files for new sections of docs
Owen Taylor [Thu, 7 Sep 2000 18:18:04 +0000 (18:18 +0000)]
add some new files for new sections of docs

25 years agoMove gtk-reference files into GTK+ tree proper.
Owen Taylor [Thu, 7 Sep 2000 18:17:06 +0000 (18:17 +0000)]
Move gtk-reference files into GTK+ tree proper.

Thu Sep  7 14:15:03 2000  Owen Taylor  <otaylor@redhat.com>

        * gdk/* gtk/*: Move gtk-reference files into GTK+ tree proper.

* Update sections.txt files to correspond to current code,
tweak .sgml files and Makefiles to correspond.

* gtk/tmpl/gtkradiomenuitem.sgml (this): Remove extra <para>

25 years agoDoc comment fixing. (Mostly non-matching parameter names.)
Owen Taylor [Thu, 7 Sep 2000 18:07:59 +0000 (18:07 +0000)]
Doc comment fixing. (Mostly non-matching parameter names.)

Thu Sep  7 11:47:02 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextbuffer.c gtk/gtkimcontext.c gtk/gtkwidget.c:
Doc comment fixing. (Mostly non-matching parameter names.)

* gtk/gtkcalendar.c gtk/gtklist.c gtk/gtknotebook.c: Modify
comments a little to avoid looking like a doc comment.

* gtk/gtkspinbutton.h (GTK_INPUT_ERROR): Change INPUT_ERROR to
GTK_INPUT_ERROR. (Should the mechanism for erros in spin button
conversions be changed to GError?)

* gtk/gtkcolorsel.c (GTK_CUSTOM_PALETTE_WIDTH/HEIGHT):
Move private #defines into .c file.

* gtk/gtktexttag.c (gtk_text_tag_class_init): Alphabetize
order of argument addition, remove duplicates.

* gtk/gtkaspectframe.h (struct _GtkAspectFrameClass):
parent class is FrameClass, not BinClass.

* gtk/gtk.h: Add gtkinvisible, which was missing.
(It's occasionalyl useful for client apps, if seldom.)

* gdk/gdktypes.h: Remove obsolete GDK_CORE_POINTER
#define.

25 years agoRemove conftest* after use along the lines of AC_TRY_COMPILE.
Sebastian Wilhelmi [Tue, 5 Sep 2000 14:07:55 +0000 (14:07 +0000)]
Remove conftest* after use along the lines of AC_TRY_COMPILE.

2000-09-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in (use_mmx_asm): Remove conftest* after use along the
lines of AC_TRY_COMPILE.

        * .cvsignore updates

25 years agoUse g_path_get_dirname instead of g_dirname, which is deprecated.
Sebastian Wilhelmi [Tue, 5 Sep 2000 12:13:24 +0000 (12:13 +0000)]
Use g_path_get_dirname instead of g_dirname, which is deprecated.

2000-09-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gtk/gtkrc.c (gtk_rc_parse_file): Use g_path_get_dirname instead
of g_dirname, which is deprecated.
(gtk_rc_parse_any): Removed calls to
g_scanner_{freeze,thaw}_symbol_table, which are deprecated.

* gtk/gtkbindings.c (binding_entry_new, binding_entry_destroy):
Removed calls to g_hash_table_{freeze,thaw}, as they are
deprecated now.

* gtk/testtext.c (buffer_pretty_name): Use g_path_get_basename
instead of g_basename.

25 years agoPut text after #endif inside a comment to avoid ANSI warning.
Elliot Lee [Mon, 4 Sep 2000 20:54:39 +0000 (20:54 +0000)]
Put text after #endif inside a comment to avoid ANSI warning.

* gdk/gdkpixbuf.h: Put text after #endif inside a comment to avoid ANSI warning.

25 years agoAdd some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and
George Lebl [Sun, 3 Sep 2000 05:49:34 +0000 (05:49 +0000)]
Add some documenting comments about GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and

Sun Sep 03 00:47:08 2000  George Lebl <jirka@5z.com>

* gtk/gtkwidget.h:  Add some documenting comments about
  GTK_CAN_DEFAULT, GTK_HAS_DEFAULT and GTK_RECEIVES_DEFAULT
  just as owen said on irc.

* gtk/gtkwindow.c (gtk_window_set_default):  Don't blindly
  set HAS_DEFAULT.  Only set it if there isn't another window
  holding it (a focus window which RECEIVES_DEFAULT) and only unset
  it if the widget is not the focused window with RECEIVES_DEFAULT.
  This fixes weird double default bugs in dialogs which has things
  call gtk_window_set_default at times.

25 years agoApply patch from Nils Barth and David Santiago to improve submenu
Owen Taylor [Sat, 2 Sep 2000 02:43:50 +0000 (02:43 +0000)]
Apply patch from Nils Barth and David Santiago to improve submenu

Fri Sep  1 22:39:07 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmenu.[ch] TODO.xml: Apply patch from
Nils Barth and David Santiago to improve submenu
navigation. The patch does this by creating a triangular
region from the point where the pointer leaves the
menu to the submenu.  While the pointer is in
that region and a timeout has not expired, events
that would cause the active submenu to change are
ignored.

25 years agoFix bug where moving a toplevel window immediately after sizing it would
Owen Taylor [Fri, 1 Sep 2000 20:10:58 +0000 (20:10 +0000)]
Fix bug where moving a toplevel window immediately after sizing it would

Fri Sep  1 15:34:46 2000  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_move): Fix bug where
moving a toplevel window immediately after sizing it would
result in it being sized back to the old size since
impl->width, impl->height aren't updated until we hear
back from the server. There is still a (longstanding) bug
here that gdk_window_get_size() will give the wrong size
until we do hear back.

25 years agoRename GtkTextStyleValues to GtkTextAttributes
Havoc Pennington [Thu, 31 Aug 2000 17:08:45 +0000 (17:08 +0000)]
Rename GtkTextStyleValues to GtkTextAttributes

2000-08-31  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.h, gtk/gtktextiter.c, gtk/gtktextlayout.h,
gtk/gtktextlayout.c, gtk/gtktexttag.h, gtk/gtktexttag.c,
gtk/gtktexttagprivate.h, gtk/gtktextview.c:
Rename GtkTextStyleValues to GtkTextAttributes

25 years agocache end line, for rapid testing whether an iterator is the end iterator
Havoc Pennington [Thu, 31 Aug 2000 04:20:59 +0000 (04:20 +0000)]
cache end line, for rapid testing whether an iterator is the end iterator

2000-08-31  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextbtree.c (GtkTextBTree): cache end line,
for rapid testing whether an iterator is the end iterator
(gtk_text_btree_new): init end line cache
(gtk_text_line_is_last): use fast cached line to
see if we're the last line.
(get_last_line): use cached line here too, should
speed up some random unrelated code.

25 years agoAdd marshallers for changed GtkTextBuffer signals.
Havoc Pennington [Thu, 31 Aug 2000 03:48:50 +0000 (03:48 +0000)]
Add marshallers for changed GtkTextBuffer signals.

2000-08-30  Havoc Pennington  <hp@pobox.com>

* gtk/gtkmarshal.list: Add marshallers for changed GtkTextBuffer
signals.

* gtk/gtktextbuffer.h: Add "interactive" arg to insert_text and
delete_text signals. This allows the signals to be used for
implementing undo.

* gtk/gtktextbuffer.c: Change signal handler signatures;
provide "interactive" argument when emitting insert_text or
delete_text signal.

25 years agoDocs
Havoc Pennington [Thu, 31 Aug 2000 03:23:14 +0000 (03:23 +0000)]
Docs

2000-08-30  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextbuffer.c: Docs

25 years agoremove GDK_IMAGE_SHARED_PIXMAP from switch statements, since Tor removed
Owen Taylor [Thu, 31 Aug 2000 02:04:54 +0000 (02:04 +0000)]
remove GDK_IMAGE_SHARED_PIXMAP from switch statements, since Tor removed

Fri Aug 25 12:16:15 2000  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkimage-x11.c: remove GDK_IMAGE_SHARED_PIXMAP
from switch statements, since Tor removed the enumeration
value.

* gdk/x11/gdkimage-x11.c (gdk_image_get):
s/GDK_IS_WINDOW/GDK_IS_DRAWABLE/.

25 years agoUse G_GNUC_CONST.
Elliot Lee [Wed, 30 Aug 2000 00:33:38 +0000 (00:33 +0000)]
Use G_GNUC_CONST.

Use G_GNUC_CONST.

25 years agowrote lots of API docs, minor indentation fixes, inserted some FIXME about
Havoc Pennington [Mon, 28 Aug 2000 03:44:06 +0000 (03:44 +0000)]
wrote lots of API docs, minor indentation fixes, inserted some FIXME about

2000-08-27  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextiter.c, gtk/gtktextiter.h: wrote lots of API docs,
minor indentation fixes, inserted some FIXME about stuff I
realized was broken while documenting it.
(gtk_text_iter_get_pixmap): allow out params to be NULL, following
GTK convention

25 years agoUpdate Irish trans.
Seán Ó Ceallaigh/Irish translations [Sun, 27 Aug 2000 00:17:24 +0000 (00:17 +0000)]
Update Irish trans.

25 years agoTry to fix a bug where a window move, with a non-rectangular region
Elliot Lee [Wed, 23 Aug 2000 00:50:32 +0000 (00:50 +0000)]
Try to fix a bug where a window move, with a non-rectangular region

Try to fix a bug where a window move, with a non-rectangular region unobstructed, would cause
pieces of the window to be moved twice. Effectively, sort of implement a
gdk_draw_drawable_region(drawable, gc, drawable, region, dx, dy);

Am going blind trying to find the off-by-one thing, especially since it doesn't happen except for
the preview tests. Still not fixed, have at it.

25 years agoFix double free of font desc.
Owen Taylor [Tue, 22 Aug 2000 16:34:43 +0000 (16:34 +0000)]
Fix double free of font desc.

Tue Aug 22 12:33:24 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/testgtk.c (create_styles): Fix double free of
font desc.

25 years agoUpdated percentages
Owen Taylor [Tue, 22 Aug 2000 03:30:17 +0000 (03:30 +0000)]
Updated percentages

25 years agoAdd gtk_widget_modify_{fg,bg,text,base,font}.
Owen Taylor [Tue, 22 Aug 2000 03:05:14 +0000 (03:05 +0000)]
Add gtk_widget_modify_{fg,bg,text,base,font}.

Mon Aug 21 22:39:18 2000  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

* gtk/testgtk.c (create_styles): Add a test for modifying
the style through gtk_widget_modify_*.

* gtk/gtkwidget.c (gtk_widget_get_modifier_style): Add
a function to get the current modifier style.

* gtk/gtkwidget.c (gtk_widget_modify_style): Make a copy
of the passed in GtkRcStyle instead of ref'ing it.

* gtk/gtkrc.[ch]: Add gtk_rc_style_copy().

25 years agoUpdated Slovenian translation
Andraz Tori [Sun, 20 Aug 2000 10:16:05 +0000 (10:16 +0000)]
Updated Slovenian translation

25 years agogdk/gdkimage.h No need any longer on Win32 for the shared memory
Tor Lillqvist [Sat, 19 Aug 2000 21:46:05 +0000 (21:46 +0000)]
gdk/gdkimage.h No need any longer on Win32 for the shared memory

2000-08-20  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkimage.h
* gdk/win32/gdkimage-win32.c: No need any longer on Win32 for the
shared memory image+pixmap GdkImage type, or
gdk_image_bitmap_new(). They were used in the gdk_imlib port, but
I am dropping that.

* gtk/gtkmain.h: On Win32, use a #define to map gtk_init() to
actually call gtk_init_abi_check(), passing also
sizeof(GtkWindow). Ditto for gtk_init_check().

* gtk/gtk.def
* gtk/gtkmain.c: (gtk_init_abi_check, gtk_init_check_abi_check):
New functions, used to check that the GTK+-using code has been
compiled using the correct compiler and switches. In particular,
with gcc one has to use the -fnative-struct switch as GTK+ is
compiled with that.

25 years agoDon't leave dangling ->prev fields when merging lists. (Found
Owen Taylor [Fri, 18 Aug 2000 21:32:48 +0000 (21:32 +0000)]
Don't leave dangling ->prev fields when merging lists. (Found

Fri Aug 18 17:27:46 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkclist.c (gtk_clist_merge): Don't leave dangling
->prev fields when merging lists. (Found simultaneously
by Pawel Salek and Jakub Jelinek)

25 years agoupdated italian translation
Christopher R. Gabriel [Thu, 17 Aug 2000 16:36:36 +0000 (16:36 +0000)]
updated italian translation

25 years agoUpdated Ukrainian translation
Yuri Syrota [Mon, 14 Aug 2000 14:43:56 +0000 (14:43 +0000)]
Updated Ukrainian translation

25 years agogdk/gdk.def Add missing entries.
Tor Lillqvist [Sat, 12 Aug 2000 19:51:05 +0000 (19:51 +0000)]
gdk/gdk.def Add missing entries.

2000-08-12  Tor Lillqvist  <tml@iki.fi>

* gdk/gdk.def
* gtk/gtk.def: Add missing entries.

* gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Use
OUT_TT_ONLY_PRECIS, try to get a TrueType font.

* gdk/win32/gdkinput-win32.c (gdk_device_get_state): New
function. Dummy implementation at this point.

* gtk/makefile.mingw.in: Fix typo. Add testtext and testtextbuffer
rules. Undefine GTK_COMPILATION when compiling the test programs.

* gtk/gtkdebug.h: Mark gtk_debug_flags for export/import.

* gdk_pixbuf.def: Add missing entry point.

25 years agoMake it compile
Anders Carlsson [Sat, 12 Aug 2000 15:02:17 +0000 (15:02 +0000)]
Make it compile

25 years agoA few more variables renamed, relating to the "system" charset vs UTF-8
Tor Lillqvist [Sat, 12 Aug 2000 07:45:56 +0000 (07:45 +0000)]
A few more variables renamed, relating to the "system" charset vs UTF-8
pathname issue. Plug a memory leak.

25 years agoImprove previous commit a bit, use better variable names.
Tor Lillqvist [Sat, 12 Aug 2000 07:37:27 +0000 (07:37 +0000)]
Improve previous commit a bit, use better variable names.

25 years agoAdd more calls to g_filename_{to,from}_utf8() to convert back and forth
Tor Lillqvist [Sat, 12 Aug 2000 07:25:55 +0000 (07:25 +0000)]
Add more calls to g_filename_{to,from}_utf8() to convert back and forth

2000-08-11  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c: Add more calls to g_filename_{to,from}_utf8()
to convert back and forth from UTF-8 and the "system" (or "current
locale") charset when necessary. Indentation/spacing cleanup.

25 years agoChange the format of the snapshot version to match glib
Havoc Pennington [Fri, 11 Aug 2000 02:58:59 +0000 (02:58 +0000)]
Change the format of the snapshot version to match glib

2000-08-10  Havoc Pennington  <hp@redhat.com>

* Makefile.am (snapshot): Change the format of the snapshot
version to match glib

* gdk/win32/Makefile.am (EXTRA_DIST): remove gdkinputprivate.h
from EXTRA_DIST since it doesn't seem to exist

2000-08-10  Havoc Pennington  <hp@redhat.com>

* Makefile.am (EXTRA_DIST): The *.def files had the wrong names
(s/pixbuf_/pixbufloader_)

25 years agosome sort of line number changes to .po files that make performed, dunno
Havoc Pennington [Fri, 11 Aug 2000 02:56:24 +0000 (02:56 +0000)]
some sort of line number changes to .po files that make performed, dunno

25 years agoRef window before returning.
Elliot Lee [Wed, 9 Aug 2000 21:53:50 +0000 (21:53 +0000)]
Ref window before returning.

Ref window before returning.

25 years agoUse the "system codepage" version of the directory name (not the UTF-8
Tor Lillqvist [Wed, 9 Aug 2000 20:54:58 +0000 (20:54 +0000)]
Use the "system codepage" version of the directory name (not the UTF-8

2000-08-10  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c (open_new_dir): Use the "system codepage"
version of the directory name (not the UTF-8 one) when building
the path name to stat().